﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using MachineQA;
using MachineQA.Properties;

namespace MachineQA.Model
{
    public partial class Modality : IDataErrorInfo
    {
        public static Modality CreateEnergy(string name, string unit)
        {
            Modality retVal = new Modality();
            retVal.Name = name;
            retVal.Unit = unit;
            return retVal;
        }

        #region IDataErrorInfo Implementation

        public string Error
        {
            get { throw new NotImplementedException(); }
        }

        public string this[string columnName]
        {
            get { throw new NotImplementedException(); }
        }

        #endregion // IDataErrorInfo Implementation
    }
}
